package com.exception.bean;

/**
 * Created by Administrator on 2017/7/20 0020.
 * 返回结果集
 */
public class Result<T> {
    private Integer status; //error_code 状态值：200 成功，其他数值代表失败
    private String msg; //error_msg 错误信息，若status为200时，为success
    private T data;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
